﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MX
{
    enum Npctype
    {
        Task,
        Shop,
        Iron,
    }

    abstract class Npc
    {

        private string name;
        private Npctype type;

        public string Name
        {
            get { return this.name; }
            set { this.name = value; }

        }

        public Npctype Type
        {
            get { return this.type; }
            set { this.type = value; }

        }
        public Npc(string name, Npctype type)
        {
            this.name = name;
            this.type = type;

        }
        public abstract void Speak();





    }
}
